/**
 * Copyright (c) 2015-2018, Golly Hu 胡高 (3722711@qq.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package cn.hg.jfsa.model;

/**
 * @author Golly
 */
public class JfsaFile {

	/**
	 * 后缀名
	 */
	private String extName;
	/**
	 * 文件夹路径
	 */
	private String folder;
	/**
	 * 文件大小long值
	 */
	private long length;
	/**
	 * 文件名
	 */
	private String name;
	/**
	 * 文件大小String值
	 */
	private String size;
	/**
	 * 文件类型：file：一般文件、image：图片、video：视频、audio：音频、zip：压缩包、doc：文档、folder：文件夹
	 */
	private String type = "file";

	/**
	 * @return the extName
	 */
	public String getExtName () { return this.extName; }

	/**
	 * @return the folder
	 */
	public String getFolder () { return this.folder; }

	/**
	 * @return
	 */
	public long getLength () { return this.length; }

	/**
	 * @return the name
	 */
	public String getName () { return this.name; }

	/**
	 * @return the size
	 */
	public String getSize () { return this.size; }

	/**
	 * @return the type
	 */
	public String getType () { return this.type; }

	/**
	 * @param extName
	 *            the extName to set
	 */
	public void setExtName (String extName) { this.extName = extName; }

	/**
	 * @param folder
	 *            the folder to set
	 */
	public void setFolder (String folder) { this.folder = folder; }

	/**
	 * @param length
	 */
	public void setLength (long length) { this.length = length; }

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName (String name) { this.name = name; }

	/**
	 * @param size
	 *            the size to set
	 */
	public void setSize (String size) { this.size = size; }

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType (String type) { this.type = type; }

}
